<?php

/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/8/21
 * Time: 19:09
 */
class 实现301跳转
{

}
$var = $_SERVER['REQUEST_URI'];
header( "HTTP/1.1 301 Moved Permanently" ) ;
header("Location:http://www.open-open.com".$var);
exit;